
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="it">
<head>
	<meta content="text/html; charset=UTF-8" http-equiv="content-type">
	<title>Retwis - Example Twitter clone based on the Redis Key-Value DB</title>
	<link href="../../css/style.css" rel="stylesheet" type="text/css"></head>
<body>
	<div id="page">
		<div id="header">
			<a href="/index/user">
				<img style="border:none" src="../../logo.png" width="192" height="85" alt="Retwis"></a>
			<div id="navbar">
				<a href="/personlist">主页</a>
				|
				<a href="/register">注册</a>
				|
				<a href="/login">登陆</a>
				|
				<a href="/logout">退出</a>
			</div>
		</div>
		<h2 style="text-align:center">个人主页</h2>

		<div id="postform">
			<form method="POST" action="/post">
				有啥感想?
				<br>
				<table>
					<tr>
						<td>
							<textarea cols="98" rows="4" name="status"></textarea>
						</td>
					</tr>
					<tr>
						<td align="right">
							<input type="submit" name="doit" value="发布"></td>
					</tr>
				</table>
			</form>
		</div>
		<h2 class="username">{:session('username')}</h2>
		<!-- <a href="follow.php?uid=1&f=1" class="button">关注ta</a> -->
		{volist name="list" id="vo"}
		<div class="post">
			<a class="username" href="/profile?u={$vo.user_id}">{$vo.username}</a>
			{$vo.content}
			<br> <i>{:date('Y-m-d H:i:s',$vo['starttime'])}</i>
		</div>
		{/volist}
		<div id="footer">
		</div>
	</div>
</body>
</html>
